cmake_minimum_required(VERSION 3.30)
project(modbusWeb)

set(CMAKE_C_STANDARD 11)
include_directories(${PROJECT_SOURCE_DIR}/include ${PROJECT_SOURCE_DIR}/user/inc)
file(GLOB userSrc ${PROJECT_SOURCE_DIR}/user/src/*.c)
add_executable( modbusWeb ${userSrc})
#target_link_libraries(C )#動態庫
target_link_libraries( modbusWeb libsqlite3.so libjsoncpp.so.1 pthread)